﻿/*-----------------------------------------------
// File: ItemIconTemplate.cs
// Description: 
// Author: Shaobing	492057342@qq.com
-----------------------------------------------*/
using UnityEngine;
using System.Collections;

namespace UI
{
    public class IconTemplate : MonoBehaviour
    {
        public TextureKit icon;

        public void SetIcon(TextureIcon iconType, string iconResName) {
            icon.iconType = iconType;
            icon.textureName = iconResName;
            return;
        }
    }
}